package forms

type LoginForm struct {
	//手机号码格式得自定义validator
	Mobile   string `form:"mobile" json:"mobile" binding:"required,mobile"`
	Password string `form:"password" json:"password" binding:"required,min=3,max=20"`
}


type RegisterForm struct {
	//手机号码格式得自定义validator
	Mobile   string `form:"mobile" json:"mobile" binding:"required,mobile"`
	Password string `form:"password" json:"password" binding:"required,min=3,max=20"`
}
